﻿@model Tecnosop.Dominio.NOTA_DE_CREDITO


@{
    ViewBag.Title = "Editar nota crédito";
    Layout = "~/Views/NotaCredito/_LayoutNotaCredito.cshtml";
}


@section script {
    @Content.Script(@Links.Scripts.jquery_validate_min_js, Url)
    @Content.Script(@Links.Scripts.jquery_validate_unobtrusive_min_js, Url)
}


@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>Datos nota de crédito</legend>
       
        <div class="editor-label">@Html.LabelFor(model => model.NUMERO_FACTURA)</div>
        <div class="editor-field">
            @Html.HiddenFor(model => model.NUMERO_FACTURA)
            @Html.DisplayFor(model => model.NUMERO_FACTURA)
        </div>

        <div class="editor-label">@Html.LabelFor(model => model.RAZON_SOCIAL)</div>
        <div class="editor-field">
            @Html.HiddenFor(model => model.RAZON_SOCIAL)
            @Html.DisplayFor(model => model.RAZON_SOCIAL)
        </div>


        <div class="editor-label">@Html.LabelFor(model => model.ID_NOTA_CREDITO)</div>
        <div class="editor-field">
            @Html.HiddenFor(model => model.ID_NOTA_CREDITO)
            @Html.DisplayFor(model => model.ID_NOTA_CREDITO)
        </div>

        <div class="editor-label">@Html.LabelFor(model => model.FECHA_INSTALACION)</div>
        <div class="editor-field">
            @Html.EditorFor(model => model.FECHA_INSTALACION)
            @Html.ValidationMessageFor(model => model.FECHA_INSTALACION)
        </div>

        <div class="editor-label">@Html.LabelFor(model => model.MONTO)</div>
        <div class="editor-field">
            @Html.EditorFor(model => model.MONTO)
            @Html.ValidationMessageFor(model => model.MONTO)
        </div>
        
        <div class="editor-label">@Html.LabelFor(model => model.COMENTARIO)</div>
        <div class="editor-field">
            @Html.EditorFor(model => model.COMENTARIO)
            @Html.ValidationMessageFor(model => model.COMENTARIO)
        </div>
        
         <br />
        <hr />
        <p>
            <button type="submit" class="nice radius small green button">Guardar Cambios</button>
            @Html.ActionLink("Cancelar", MVC.NotaCredito.VerTodos(), new { @class = "nice radius small red button" })
        </p>
    </fieldset>
     
    
    }
